package com.goktech.olala.core.service;

import com.goktech.olala.server.pojo.goods.Activity;
import com.goktech.olala.server.pojo.goods.Advert;
import com.goktech.olala.server.pojo.goods.Article;

import java.util.List;

/**
 * @author sanming
 * @Classname IGoodIndexService
 * @Description 商城首站：查询热门头条、查询热门活动、查询轮播图的Service接口
 * @Date 2020/12/7 19:01
 * @Created by sanming
 */
public interface IGoodIndexService {
    /**
     * 查询首页所有热门头条
     *
     * @return
     */
    List<Article> selectArticle();

    /**
     * 查询首页所有热门活动
     *
     * @return
     */
    List<Activity> selectActivity();

    /**
     * 查询首页轮播图
     *
     * @return
     */
    List<Advert> selectAdvert();
}
